/*    */ package com.qmsk.business.member.memberGift.dao;
/*    */ 
/*    */ import com.qmsk.business.sys.basic.SupportDAO;
/*    */ import com.utils.gson.in.GsonHeadOneRow;
/*    */ import com.utils.gson.out.GsonEbRst;
/*    */ import java.sql.SQLException;
/*    */ 
/*    */ public class MemberGiftDAO extends SupportDAO
/*    */ {
/*    */   public GsonEbRst getGsonOfShopId(Integer shopId, Integer nPageIdx, Short nPageSize)
/*    */     throws SQLException
/*    */   {
/* 33 */     Object[] params = { shopId };
/* 34 */     return getGsonOfParams(
/* 35 */       "selectSqlOfShopId", "selectCountSqlOfShopId", 
/* 36 */       "selectJsonOfShopId", params, nPageIdx, nPageSize);
/*    */   }
/*    */ 
/*    */   public int updateImgUrl(String fldName, String imgUrl, Long id) throws SQLException
/*    */   {
/* 41 */     String[] head = { fldName, "id" };
/* 42 */     Object[] data = { imgUrl, id };
/* 43 */     GsonHeadOneRow g = new GsonHeadOneRow(head, data);
/* 44 */     return updateJsonOneRow(g);
/*    */   }
/*    */ 
/*    */   public GsonEbRst getGsonOfShopId_stId(Integer shopId, Integer stId, Integer nPageIdx, Short nPageSize)
/*    */     throws SQLException
/*    */   {
/* 59 */     Object[] params = { shopId, stId };
/* 60 */     return getGsonOfParams(
/* 61 */       "selectSqlOfShopId_stId", "selectCountSqlOfShopId_stId", 
/* 62 */       "selectJsonOfShopId", params, nPageIdx, nPageSize);
/*    */   }
/*    */ 
/*    */   public GsonEbRst getGsonOfShopId_ltId(Integer shopId, Integer ltId, Integer nPageIdx, Short nPageSize)
/*    */     throws SQLException
/*    */   {
/* 77 */     Object[] params = { shopId, ltId };
/* 78 */     return getGsonOfParams(
/* 79 */       "selectSqlOfShopId_ltId", "selectCountSqlOfShopId_ltId", 
/* 80 */       "selectJsonOfShopId", params, nPageIdx, nPageSize);
/*    */   }
/*    */ }

/* Location:           C:\Users\Administrator\Desktop\新建文件夹\WEB-INF\classes\
 * Qualified Name:     com.qmsk.business.member.memberGift.dao.MemberGiftDAO
 * JD-Core Version:    0.5.3
 */